/**
  ETFRoot project, Anyang Normal University && IMP-CAS
  \class ETFTaL2Tracker
  \brief trackers for tracking with 2 timing PLs
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2022-04-25
  \date 2021-04-25 last modified
  \attention
  changelog
  <table>
  <tr>  <th>Date         <th>Author      <th>Description                   </tr>
  <tr>  <td>2021-04-25   <td>Asia Sun    <td>file created                  </tr>
  </table>

  \copyright Copyright (c) 2021 Anyang Normal U. && IMP-CAS with LGPLv3 LICENSE
*/

#ifndef ETFTaL2Tracker_h
#define ETFTaL2Tracker_h

#include "ETFTaLTracker.h"

class ETFTaL2Tracker : public ETFTaLTracker{
public:
  ETFTaL2Tracker(const char *name = "") : ETFTaLTracker(name){}
  /// dcs, t0: the constituent dcs and timing detectors of the tracker
  ETFTaL2Tracker(const char *name, const vector<string> &dcs, const char *t0, const char *t1);
  virtual ~ETFTaL2Tracker(){}

  virtual double GetTime() const;
  virtual int GetTimerFiredStatus() const;

  ClassDef(ETFTaL2Tracker, 1);

protected:
  ETFTimer *fTimer1;
};

#endif
